package br.com.NoTraffic.connector;

import org.junit.Test;
import junit.framework.Assert;
public class ConnectorTester {
	
	String Url = "http://www.nbcnewyork.com/traffic/";
	
	@Test
	public void httpConnectionTest(){
		try {
			String HTMLBody = UrlConnector.doHttpUrlConnection(Url);
			Assert.assertNotNull(HTMLBody);
			}
		catch (Exception e) {
			e.printStackTrace();
			Assert.fail();
		}
	}	
}
